package co.com.javeriana.aes.oms.ejb.orders.dto;

import java.util.Date;
import java.util.List;

/**
 *
 * @author Jonathan Fernandez <jonathan.fvargas@gmail.com>
 */
public class Order implements java.io.Serializable {

    private int costumerID;
    private int orderID;
    private Date orderDate;
    private float price;
    private String comments;
    private OrderStatus status;    
    private List <Item> items;

    public Order() {

    }

    public Order(int costumerID, int orderID, Date orderDate, float price, String comments, OrderStatus status, List<Item> items) {
        this.costumerID = costumerID;
        this.orderID = orderID;
        this.orderDate = orderDate;
        this.price = price;
        this.comments = comments;
        this.status = status;
        this.items = items;
    }
    
    public List<Item> getItems() {
        return items;
    }

    public void setItems(List<Item> items) {
        this.items = items;
    }
    
    public int getCostumerID() {
        return costumerID;
    }

    public void setCostumerID(int costumerID) {
        this.costumerID = costumerID;
    }

    public int getOrderID() {
        return orderID;
    }

    public void setOrderID(int orderID) {
        this.orderID = orderID;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public OrderStatus getStatus() {
        return status;
    }

    public void setStatus(OrderStatus status) {
        this.status = status;
    }
}